<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- 
    Document   : cambiarContrasena
    Created on : 27/11/2009, 05:23:02 PM
    Author     : tluyo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cambiar Contraseña</title>
        <link href="style.css" type="text/css" rel="StyleSheet" />
    </head>
    <body>
        <h3>Cambiar Contraseña de Usuario</h3>
        <form action="CambiarContrasenaServlet" method="post">
            <table align="center">
                <tr><td>Usuario:</td><td><input type="text" name="usuario" disabled="true" value="${usuarioSession.usuario}" /></td></tr>
                <tr><td>Password anterior:</td><td><input type="password" name="passwordold" /></td></tr>
                <tr><td>Password nuevo:</td><td><input type="password" name="passwordnew1" /></td></tr>
                <tr><td>Retipee Password nuevo:</td><td><input type="password" name="passwordnew2" /></td></tr>
                <tr><td colspan="2"><input type="submit" value="Cambiar password"
                                           <c:if test='${actualizado}'>
                                               disabled="true"
                                           </c:if> />
                    </td>
                </tr>
                <tr><td colspan="2" style="color:red;font-weight:bold">${mensaje}</td></tr>
            </table>
            <jsp:include page="menubar.jsp"></jsp:include>
        </form>
    </body>
</html>
